package me.firstapp.common.module.shop;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import me.firstapp.common.module.base.JsonBase;
import me.firstapp.common.module.bbs.JsonMember;

public class JsonOrder extends JsonBase {

	private static final long serialVersionUID = 6400022835675208407L;

	// 订单号
	private String orderNo;

	// 关联的用户
	private JsonMember member;

	// 订单状态0,未支付(未支付);1,待发货(待发货/已确认/已支付);2,待收货(已发货);3,已完成;4,已取消;5,退款/售后;
	private Integer status;

	// 商品总数量
	private Integer counts;

	// 商品总金额
	private Double value;

	// 快递名称
	private String expressName = "";

	// 快递单号
	private String expressNo = "";

	// 收货人
	private String receiveName;

	// 收货地址
	private String receiveAddress;

	// 创建时间
	private Date createTime;

	// 发货时间
	private Date distributeTime;

	// 备注
	private String remark;

	private List<JsonOrderItem> items = new ArrayList<>();

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public JsonMember getMember() {
		return member;
	}

	public void setMember(JsonMember member) {
		this.member = member;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCounts() {
		return counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public List<JsonOrderItem> getItems() {
		return items;
	}

	public void setItems(List<JsonOrderItem> items) {
		this.items = items;
	}

	public String getExpressName() {
		return expressName;
	}

	public void setExpressName(String expressName) {
		this.expressName = expressName;
	}

	public String getExpressNo() {
		return expressNo;
	}

	public void setExpressNo(String expressNo) {
		this.expressNo = expressNo;
	}

	public String getReceiveName() {
		return receiveName;
	}

	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}

	public String getReceiveAddress() {
		return receiveAddress;
	}

	public void setReceiveAddress(String receiveAddress) {
		this.receiveAddress = receiveAddress;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getDistributeTime() {
		return distributeTime;
	}

	public void setDistributeTime(Date distributeTime) {
		this.distributeTime = distributeTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
